@extends('admin.base')
        @section('content')
<!-- Content Header (Page header) -->
<section class="content-header">
  <h1>
    <i class="fa fa-calendar"></i>
网站配置模块
  </h1>
  <ol class="breadcrumb">
    <li><a href="#"><i class="fa fa-dashboard"></i> 首页</a></li>
    <li><a href="#">修改网站配置模块</a></li>
    <li class="active">网站配置</li>
  </ol>
</section>

<!-- Main content -->
<section class="content">
  <div class="row">
    <!-- right column -->
    <div class="col-md-12">
      <!-- Horizontal Form -->
      <div class="box box-primary">
        <div class="box-header with-border">
          <h3 class="box-title"><i class="fa fa-plus"></i> 网站配置信息</h3>
        </div><!-- /.box-header -->
        <!-- form start -->
         @foreach ($ss as $ll)
        <form action="/admin/config/'1'" method="post" class="form-horizontal" enctype="multipart/form-data">
          <input type="hidden" name="_method" value="PUT">
          <input type="hidden" name="_token" value="{{ csrf_token() }}">
          <input type="hidden" name="_token" value="<?php echo csrf_token(); ?>">
          <input type="hidden" name="_method" value="PUT">
          <input type="hidden" name="id" value="1">
          <div class="box-body">
            <div class="form-group">
              <label for="inputEmail3" class="col-sm-2 control-label">网站名称</label>
              <div class="col-sm-4">
                <input type="text" name="webname" value="{{$ll->webname}}" class="form-control" id="inputEmail3">
              </div>
            </div>
            <div class="form-group">
              <label for="inputPassword3" class="col-sm-2 control-label">网站关键字</label>
              <div class="col-sm-4">
                <input type="text" name="keywords" value="{{$ll->keywords}}" class="form-control" id="inputPassword3">
              </div>
            </div>
	     <div class="form-group">
              <label for="inputPassword3" class="col-sm-2 control-label">网站版权</label>
              <div class="col-sm-4">
                <input type="text" name="copy" value="{{$ll->copy}}" class="form-control" id="inputPassword3">
              </div>
            </div>
            <div class="form-group">
              <label for="inputPassword3" class="col-sm-2 control-label">网站Logo</label>
              <div class="col-sm-4">
                <div class="row">
    						  <div class="col-xs-6 col-md-3">
    						      <img src="/uploads/{{$ll->logo}}">
    						      <input type="file" name="logo" value="{$ll->logo}"/>
    						  </div>
    						  
    						</div>
              </div>
            </div>
        <div class="form-group">
          <label for="inputPassword3" class="col-sm-2 control-label">网站是否关闭</label>					  
						
              <select name="name" style="width:150px" class="form-control">
                  <option value="0">关闭</option>
                  
                  <option value="1">开启</option>
                  
              </select>
              </div>
            </div>
            </div>
          </div><!-- /.box-body -->
          <div class="box-footer">
            <div class="col-sm-offset-2 col-sm-1">
        		<button type="submit" class="btn btn-primary">修改</button>
                    </div>
        	<div class="col-sm-1">
        		<button type="submit" class="btn btn-primary">重置</button>
        	</div>
          </div><!-- /.box-footer -->
        </form>
        @endforeach  
<div class="row"><div class="col-sm-12">&nbsp;</div></div>
      </div><!-- /.box -->

    </div><!--/.col (right) -->
  </div>   <!-- /.row -->
</section><!-- /.content -->
	@endsection
